<% @page_title = "Invite a new user to Pronetos" %>

<div class="form_container column span-16 prepend-6 last">

  <h3><%= @page_title %></h3>

  <% form_for(:invite, :url => user_invites_url) do |f| %>
    <dl class="inline">
      <dt><%= label_for :user, :first_name %></dt>
      <dd><%= f.text_field :first_name, :class => 'autofocus' %></dd>
      <dt><%= label_for :user, :last_name %></dt>
      <dd><%= f.text_field :last_name %></dd>
      <dt><%= label_for :user, :email_address %></dt>
      <dd><%= f.text_field :email_address %></dd>
      <dt><%= label_for :user, :personal_message %></dt>
      <dd><%= f.text_area :message, :rows => 7, :cols => 50 %></dd>
    </dl>
    <hr />
    <p><%= submit_tag "Send Invitation", :class => "submit" %></p>
    <hr />
    <h5>What your email will look like</h5>
    <p>
    <small>
      Hi Test User,
      <br />
      <br />
      quentin has invited you to Pronetos, the social network exclusive to scholars.
      <br />
      <br />
      % Your Personal Message %
      <br />
      <br />
      Why join Pronetos?
      <br />
      <br />
      * Connect to scholars in your field from all over the globe.
      <br />
      * Join a group (we call them disciplines).  Don't see your discipline?  Click the "create a discipline" link and create one of your own.
      <br />
      * Upload content to gain exposure among your colleagues and accelerate your research.
      <br />
      * Soon, you will be able to create custom textbooks from your favorite content.  You can even be published in one of our peer-reviewed journals (launching in 2008).
      <br />
      Make new connections.  Gain exposure for your research.  Publish and accelerate your career.
      <br />
      Join Pronetos for free today.
      <br />
      pronetos.com/signup
    </small>
    </p>
  <% end %>

</div>
